SGSetChannelRefCon
TheSGSetChannelRefCon
function allows you to set the value of a reference constant that is passed to your callback functions (see "Video Channel Callback Functions" beginning on page 5-95 for information about the callback functions that are supported by video channels).
pascal ComponentResult SGSetChannelRefCon (SGChannel c, long refCon);
c
- Specifies the reference that identifies the channel for this operation. You obtain this reference from the
SGNewChannel
function, described on page 5-29.refCon
- Specifies a reference constant value that is to be passed to your callback functions for this channel. See "Video Channel Callback Functions" on page 5-95 for information about the callback functions that are supported by video channels. Sound channels do not support callback functions.
SPECIAL CONSIDERATIONS
Sound channels do not support callback functions.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help